package org.snusmumr.android.media;

import org.snusmumr.android.media.data.MediaColumns;



public class Constants {
	private Constants() {}
	
	public enum MediaState {
		Default(1),
		Lent(2),
		Wishlist(3);
		
		private long stateId;
		private MediaState(long stateId) {
			this.stateId = stateId;
		}
		
		public long getStateId() {
			return stateId;
		}
	}
	
	public enum ItemCheckState {
		All, Lent, Free
	}
	
	public enum ImportExportTask {
		Import, Export
	}
	
	public static final String KEY_ID = "id";
	public static final String KEY_PARENT_ID = "parentID";
	public static final String KEY_PARENT_NAME = "parentName";
	public static final String KEY_PARENT_TYPE = "parentType";
	public static final String KEY_TASK_TYPE = "taskType";
	public static final String KEY_PATH = "path";
	
	public static final int DB_VERSION = 1;
	
	public static final String DB_TABLE_CATEGORY = "category";
	public static final String[] DB_COLUMNS_CATEGORY = new String[]{MediaColumns._ID, MediaColumns.NAME};
	
	public static final String DB_TABLE_LABEL = "label";
	public static final String[] DB_COLUMNS_LABEL = new String[]{MediaColumns._ID, MediaColumns.NAME, MediaColumns.COLOR};
	
	public static final String DB_TABLE_MEDIA_ITEM = "media_item";
	
	public static final String DB_TABLE_AUTHOR = "author";
	public static final String DB_TABLE_FRIEND = "friend";
}
